package com.felix.dao.impl;

import com.felix.bean.Relation;
import com.felix.dao.RemoveDao;
import com.g3net.database.DataBase;
import com.g3net.database.DataBaseFactory;
import com.g3net.database.DbException;

public class RemoveDaoImpl implements RemoveDao {

	public int deleteRelation(Relation rela) throws DbException {
		DataBase db= DataBaseFactory.getDataBase();
		return db.excuteDeleteClass(rela, "rid");
	}

}
